# -*- coding:utf8 -*- #
# -----------------------------------------------------------------------------------
# ProjectName:  property-ui-auto-test
# FileName:     meter_management_group.py
# Author  :
# Datetime:     2022/9/27 18:10
# Description：集团：表计管理
# -----------------------------------------------------------------------------------
from time import sleep

from page.login_page import LoginPage


class MeterManagementGroup(LoginPage):
    def meter_management_setup(self):
        # 点击展开
        self.click('//*[@id="app"]/section/section/aside/div/img')
        sleep(0.5)
        # 点击表计管理
        self.click('//*[@id="app"]/section/section/aside/div/div/ul/li[8]')

    def meter_management_meterInfoupdate(self, optPwd=123123):
        self.meter_management_setup()
        pass


if __name__ == '__main__':
    mmg = MeterManagementGroup()
    mmg.login()
    mmg.meter_management_meterInfoupdate()
    sleep(3)
    mmg.quit()
